package com.eastfair.venueservice.vo;

import com.eastfair.annotation.model.BaseVoGroupClass;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.annotation.annotation.vo.VoInfo;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 实体类
 * 服务折扣利率
 * </p>
 *
 * @author linan
 * @since 2022-07-28
 */
@Data
@ApiModel(value = "ServiceItemDiscountVO", description = "服务折扣利率")
public class ServiceItemDiscountVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 服务项目id
     */
    @ApiModelProperty(value = "服务项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long serviceItemId;
    /**
     * 展厅id
     */
    @ApiModelProperty(value = "展厅id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long spaceId;
    /**
     * 折扣开始日期
     */
    @ApiModelProperty(value = "折扣开始日期")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private LocalDate startDate;
    /**
     * 折扣结束日期
     */
    @ApiModelProperty(value = "折扣结束日期")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private LocalDate endDate;
    /**
     * 折扣利率（%）
     */
    @ApiModelProperty(value = "折扣利率（%）")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal discount;
}
